﻿using MediatR;
using ShineTech.Web.Kanbans;
using System;

namespace ShineTech.Web.Kanbans.Commands
{
    public class CreateKanbanCommand : IRequest<KanbanDTO>
    {
        public string Name { get; set; }


        public Guid CreatedUserId { get; set; }

        public string CreatedUserName { get; set; }

        public DateTime CreatedTime { get; set; }




        public CreateKanbanCommand(DateTime createdTime, string name, Guid createdUserId, string createdUserName)
        {
            CreatedTime = createdTime;
            Name = name;
            CreatedUserId = createdUserId;
            CreatedUserName = createdUserName;
        }
    }

}
